from fastapi import FastAPI
from api.author.user import user
from api.webscoket_api.ws import ws
from utils.logger import logger

# 注册路由
def register_router(app: FastAPI):
    logger.info("初始化路由")
    app.include_router(user, prefix="/ai", tags=["user"])
    app.include_router(ws, prefix="/ws", tags=["ws"])
